<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/layer/layer.js"></script>
</head>
<body>

</body>
</html>
<script type="text/javascript">
    setTimeout("layer.msg('请求超时，请重新请求',{shadeClose:true,shade:0.1,time:2000})", 10000 );
    setTimeout("layer.confirm('请求超时，请重新请求',{shadeClose:true,shade:0.1},function(){layer.closeAll()})", 5000 );
</script>